package com.trsj.lnsj.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;



/**  

* <p>Title: Group.java</p>  

* <p>Description: </p>  

* <p>Copyright: Copyright (c) 2018</p>  

* <p>Company: 七色环</p>  

* @author longky  

* @date 2018年8月30日  

* @version 1.0  

*/ 
@Entity
@Table(name = "tab_group")
public class GroupDTO {
	@Id
	@Column(name = "group_id")
	@GeneratedValue
	private int groupId;//主键
	 @Column(name = "group_name") 
	private String groupName;//群名
	 @Column(name = "group_pic") 
	private String groupPic;//群头像
	 @Column(name = "status") 
	private Integer status;//状态
	 @Column(name = "create_user") 
   private Integer createUser;//状态
	public int getGroupId() {
		return groupId;
	}
	public void setGroupId(int groupId) {
		this.groupId = groupId;
	}
	public String getGroupName() {
 return groupName == null ? "":groupName;
	}
	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}
	public String getGroupPic() {
		return groupPic;
	}
	public void setGroupPic(String groupPic) {
		this.groupPic = groupPic;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public Integer getCreateUser() {
		return createUser;
	}
	public void setCreateUser(Integer createUser) {
		this.createUser = createUser;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	
	

}

 